package com.jgp.third.pay.service;

import com.jgp.third.pay.model.PaymentConfig;
import com.jgp.third.pay.model.PaymentMode;
import com.jgp.third.pay.pojo.PaymentParam;

import java.util.List;

/**
 * 项目   jgp-cloud-parent
 * 作者   loufei
 * 时间   2018/10/28
 */
public interface PayService {
    
    List<PaymentConfig> queryAllPaymentsForCurrentUser();
    
    PaymentConfig savePaymentConfig(PaymentConfig config, PaymentParam param);
    
    PaymentConfig queryPaymentConfigById(String configId);
    
    boolean checkPaymentModeUniqueForCurrentUser(PaymentMode mode);
    
}
